import logo from './logo.svg';
import './App.css';
import { useRoutes } from 'react-router-dom'
import route from '../src/pages/route/index'
import { Login } from '../src/pages/login'
function App() {
  const element = useRoutes(route)
  return (
    <div className="App">
      <div>

        {element}
        {/* 
        <Routes>
          <Route path="/" element={<Login></Login>}>主页</Route>

        </Routes>
 */}






      </div>
    </div>
  );
}

export default App;
